package com.echo.blog.business.blog.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.echo.blog.business.blog.dao.BlogCommentMapper;
import com.echo.blog.business.blog.model.BlogComment;
import com.echo.blog.business.blog.service.IBlogCommentService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author chentl123
 * @since 2019-10-08
 */
@Service
public class BlogCommentServiceImpl extends ServiceImpl<BlogCommentMapper, BlogComment> implements IBlogCommentService {

    @Override
    public List<BlogComment> getCommentListByBlogId(Integer blogId, Page<BlogComment> page) {
        return this.baseMapper.getCommentListByBlogId(blogId,page);
    }
}
